package com.bwie.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.pojo.TCq;
import com.bwie.pojo.TJb;
import com.bwie.service.TJbService;
import com.bwie.mapper.TJbMapper;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import org.springframework.stereotype.Service;

/**
* @author 28463
* @description 针对表【t_jb】的数据库操作Service实现
* @createDate 2025-07-03 11:14:56
*/
@Service
public class TJbServiceImpl extends ServiceImpl<TJbMapper, TJb>
    implements TJbService{
    TJbMapper tJbMapper;

    @Override
    public R getjblist(PageInfoVo pageInfoVo) {
        Page<TJb> page = new Page<>(pageInfoVo.getPageNum(), pageInfoVo.getPageSize());
        Page<TJb> tJbPage = tJbMapper.selectPage(page, null);
        return R.OK(tJbPage);
    }

    @Override
    public R getjblist1(PageInfoVo pageInfoVo) {
        Page<TJb> tJbPage = new Page<>(pageInfoVo.getPageNum(), pageInfoVo.getPageSize());
        Page<TJb> jbPage = tJbMapper.selectPage(tJbPage, null);
        return R.OK(jbPage);
    }
}




